package com.baizhi.cmfz.dao;

import com.baizhi.cmfz.entity.Admin;
import com.baizhi.cmfz.entity.Role;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AdminDao {
    Admin showNameAndPwd(String username);
    List<Admin> showPageAdmin(@Param("offset") int offset, @Param("limit") int limit);
    int showCount();
    List<Admin> showRole(Role role);
}
